package com.kaili.basic.pojo.dto;

import com.kaili.common.dto.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by xxx on 2019-03-07.
 */
@Data
public class OutboundApplicationQueryDto extends PageDto {
    @ApiModelProperty(name = "requestCode", value = "销售单号")
    private String requestCode;

    @ApiModelProperty(name = "productCode", value = "产品编号")
    private String productCode;

    @ApiModelProperty(name = "productName", value = "产品名称")
    private String productName;

    @ApiModelProperty(name = "customerCode", value = "客户编号")
    private String customerCode;

    @ApiModelProperty(name = "customerName", value = "客户名称")
    private String customerName;

    @ApiModelProperty(name = "startTime", value = "开始日期 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(name = "endTime", value = "结束日期 yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty(name = "orderStatus", value = "订单状态 1 创建订单 2 订单确认 3 订单取消 4 部分出货 5 全部出货 6 出货失败")
    private Integer orderStatus;
}
